﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vision.Common;
namespace Station.Common.Rejudgment
{
    /// <summary>
    /// 检测&复判信息列表
    /// </summary>
    public class ErrList
    {

        //运动镜头
        public List<ErrCamera> ErrCameras { get; set; } = new List<ErrCamera>();

        //待复判元件
        public List<ErrComponent> ErrComponents { get; set; } = new List<ErrComponent>();

        public ErrList(List<NodeComponent> compnts)
        {
            var compents = new List<ErrComponent>();
            foreach (var cell in cells)
            {
                bool bAdd = false;
                foreach (var comp in compents)
                {
                    //if (comp.TryAdd(cell))
                    //{
                    //    bAdd = true;
                    //    break;
                    //}
                }
                if(bAdd == false)
                {

                }
            }
            
        }
    }
}
